<?php
        /**
        * Autogen @ 2012-18-12 14:22:19
        * mapping to 'service' table of db 
        */
        class Model_Service extends Tiri_Model{
            public function __construct(){
                $this -> _table = 'service';
                $this -> _primary_key = 'id';
                $this -> _fields= array(
                'id',
                'name',
                'url',
                'img_url',
                'desc',
                'vendor',
                'wangwang',
                'vendor_url',
                'pcategory',
                'category');
            }
        }
        ?>